package sctu.edu.java.year2016.team03.maoyuhao.day20160521.chapter4_1;

/**
 * 实现判断变量x是奇数还是偶数。
 * Created by cc on 2016/5/2.
 */
public class Work {
        public static void main(String[] args) {
            int a=25;
            if(a%2==0)
                System.out.println("a为偶数 ");
            else
                System.out.println("a为奇数 ");
        }
    }